#pragma once
#ifndef STACK_H
#define STACK_H

#include<iostream>

typedef unsigned long Item;

class Stack
{
private:
	enum{ MAX = 10};
	Item items[MAX];
	int top;

public:
	Stack();
	bool isempty();
	bool isfull();
	bool push(const Item& item);
	bool pop(Item& item);
};


#endif